﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class Day
    {
        public String name { get; set; }
        public DateTime dateTime { get; set; }
        public List<Entity.Hour> hours { get; set; }

        public Day(String name)
        {
            this.name = name;
            inint();
        }

        private void inint()
        {
            hours = new List<Hour>();
            for (int i = 7; i < 15; i++)
            {
                hours.Add(new Hour(i, i + 1));
            }
        }
    }
}
